import request from '@/utils/request'

export function listMyStudentChengjiHuizong(params) {
  return request({
    url: '/chengji/Kaoshi_chengji/listMyStudentChengjiHuizong',
    method: 'get',
    params: params
  })
}

export function listMyChengjiHuizong() {
  return request({
    url: '/chengji/Kaoshi_chengji/listMyChengjiHuizong',
    method: 'get'
  })
}

export function list(params) {
  return request({
    url: '/chengji/Kaoshi_chengji/list',
    method: 'get',
    params: params
  })
}

export function info(params) {
  return request({
    url: '/chengji/Kaoshi_chengji/info',
    method: 'get',
    params: params
  })
}

export function add(data) {
  return request({
    url: '/chengji/Kaoshi_chengji/add',
    method: 'post',
    data
  })
}

export function edit(data) {
  return request({
    url: '/chengji/Kaoshi_chengji/edit',
    method: 'post',
    data
  })
}

export function del(data) {
  return request({
    url: '/chengji/Kaoshi_chengji/del',
    method: 'post',
    data
  })
}

export function download() {
  return request({
    url: '/chengji/Kaoshi_chengji/download',
    method: 'get',
    responseType: 'blob'
  })
}

export function tongji(data) {
  return request({
    url: '/chengji/Kaoshi_chengji/tongji',
    method: 'post',
    data
  })
}

export function listBanjisByKaoshiId(params) {
  return request({
    url: '/chengji/Kaoshi_chengji/listBanjisByKaoshiId',
    method: 'get',
    params: params
  })
}

export function listKaoshiXuekes(params) {
  return request({
    url: '/chengji/Kaoshi_chengji/listKaoshiXuekes',
    method: 'get',
    params: params
  })
}

export function listChengjiHuizong(params) {
  return request({
    url: '/chengji/Kaoshi_chengji/listChengjiHuizong',
    method: 'get',
    params: params
  })
}

export function tongjiZongfen(params) {
  return request({
    url: '/chengji/Kaoshi_chengji/tongjiZongfen',
    method: 'post',
    params: params
  })
}

export function multiDelete(data) {
  return request({
    url: '/chengji/Kaoshi_chengji/multiDelete',
    method: 'post',
    data
  })
}

export function outExcel(data) {
  return request({
    url: '/chengji/Kaoshi_chengji/outExcel',
    method: 'post',
    responseType: 'blob',
    data
  })
}
